package com.medusa.aps.business.modules.basic.model.output;

import com.medusa.aps.business.model.pagination.Page;
import com.medusa.aps.business.modules.basic.model.MonthDayWeek;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.SortedSet;

/**
 * @author 张治保
 * @since 2023/10/9
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Schema(description = "当月日期与星期")
public class CalendarWithHeaderModel implements Serializable {

    /**
     * 日历头部信息
     */
    @Schema(title = "日历头部信息", description = "日历头部信息：按照日期排序")
    private SortedSet<MonthDayWeek> headers;

    /**
     * 日历列表
     */
    @Schema(description = "工作日历分页查询结果")
    private Page<WorkingCalendarModel> calendarPage;


}
